import request from '@/utils/request'

// 查询论坛用户信息列表
export function listUser(query) {
    return request({
        url: '/forum/user-online/list',
        method: 'get',
        params: query
    })
}

export function kickUser(userId) {
    return request({
        url: `/forum/user-online/kick/${userId}`,
        method: 'delete'
    })
}
